//
//  StoreHotelTableHeaderView.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/20.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "StoreHotelDetailModel.h"
#import "StoreHotelDetailModel.h"

#import "DetailBannerMediaTabView.h"

#import "StoreHotelInfoView.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, StoreHotelDetailTableHeaderType) {
    //无忧选
    StoreHotelDetailTableHeaderType_wuyouxuan,
    
    StoreHotelDetailTableHeaderType_moreInfo,
    //地图
    StoreHotelDetailTableHeaderType_mapNavi,
    //酒店相册
    StoreHotelDetailTableHeaderType_hotelAlbum,

    StoreHotelDetailTableHeaderType_im,
};

@interface StoreHotelTableHeaderView : UIView

@property (nonatomic, strong) UIImageView *mengbanImgV;

@property (nonatomic, strong) StoreHotelInfoView *infoView;

@property (nonatomic, strong) DetailBannerMediaTabView *mediaBarView;



@property (nonatomic, copy) NSString *videoUrl;


@property (nonatomic, copy) void(^StoreHotelDetailTableHeaderViewBlock)(StoreHotelDetailTableHeaderType type);

- (void)fillHeadWithModel:(StoreHotelDetailModel *)model;

+ (CGFloat)calculateHeightWithModel:(StoreHotelDetailModel *)model;;

@end

NS_ASSUME_NONNULL_END
